<div class="btn-group">
    <button ng-click="addBook();" type="button" class="btn btn-success">新增图书</button>
    <button ng-disabled="params.ids.length!=1" type="button" class="btn btn-warning">修改图书</button>
    <button ng-disabled="params.ids.length==0" type="button" class="btn btn-danger">删除图书</button>
</div>